package com.wms.a.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@Data
public class User {
    @ApiModelProperty(value = "id")
    private int id;
    @ApiModelProperty(value = "账号")
    private String no;
    @ApiModelProperty(value = "名字")
    private String name;
    @ApiModelProperty(value = "密码")
    private String password;
    @ApiModelProperty(value = "年龄")
    private int age;
    @ApiModelProperty(value = "性别")
    private int sex;
    @ApiModelProperty(value = "电话")
    private String phone;
    @ApiModelProperty(value = "角色 0超级管理员,1管理员,2普通账号")
    private int roleId;
    @ApiModelProperty(value = "是否有效，Y有效，其他无效")
    private String isValid;
}
